﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="select_report.aspx.cs" Inherits="btnet.pages.select_report" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title id="titl" runat="server">btnet reports</title>
<link rel="StyleSheet" href="btnet.css" type="text/css">
<script type="text/javascript" language="JavaScript" src="sortable.js"></script>

<script>

function select_report(type, id)
{
opener.add_selected_report(type, id)
window.close()

}

</script>

</head>

<body>

<div class=align>
</p>

<%

if (ds.Tables[0].Rows.Count > 0)
{
	SortableHtmlTable.create_from_dataset(
		Response, ds, "", "", false);

}
else
{
	Response.Write ("No reports in the database.");
}

%>
</div>
<% Response.Write(Application["custom_footer"]); %>
</body>
</html>
